package com.ohos.connect.devicecloud.iot.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DeviceLoginVO {

    @ApiModelProperty(value = "错误码", position = 1)
    private Integer errcode;

    @ApiModelProperty(value = "", position = 1)
    private String accessToken;

    @ApiModelProperty(value = "用于刷新accessToken的临时token", position = 1)
    private String refreshToken;

    @ApiModelProperty(value = "accessToken的有效期，单位为秒", position = 1)
    private int timeout;

    @ApiModelProperty(value = "用于传递时间戳，取1970/1/1后到系统标准时间的毫秒数", position = 1)
    private String timestamp;

    @ApiModelProperty(value = "POSIX 时区格式，用于传输时区以及夏令时数据", position = 1)
    private String timezone;

    @ApiModelProperty(value = "云端返回的心跳周期，单位秒", position = 1)
    private String period;

}
